﻿<%@ Page Language="C#" MasterPageFile="~/View/Shared/RightFrame.Master" AutoEventWireup="true"
    CodeBehind="AccountControlPanel.aspx.cs" Inherits="Hisun.View.Admin.AccountControlPanel"
    Title="无标题页" %>

<%@ Register Src="../../UserControl/Admin/AuthsToUser.ascx" TagName="AuthsToUser"
    TagPrefix="uc1" %>
<%@ Register Src="../../UserControl/Admin/RolesToUser.ascx" TagName="RolesToUser"
    TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentHolder" runat="server">
    <p>
        <asp:LinkButton ID="lnkBtnSetRoles" runat="server">设置角色</asp:LinkButton>
        <uc2:RolesToUser ID="RolesToUser1" runat="server" IsInit="true" CanEdit="true" />
    <p>
        <asp:LinkButton ID="lnkBtnSetAuths" runat="server">设置特权</asp:LinkButton>
        <uc1:AuthsToUser ID="AuthsToUser1" runat="server" IsInit="true" CanEdit="true" />
    <p>
        <asp:TextBox ID="txtPassword" runat="server"></asp:TextBox>
        <asp:LinkButton ID="lnkBtnResetPassword" runat="server" OnClick="lnkBtnResetPassword_Click">重设密码</asp:LinkButton>
    </p>
    <p>
        <asp:LinkButton ID="lnkBtnDeleteAccount" runat="server">删除</asp:LinkButton>
    </p>
    <p>
        <asp:LinkButton ID="lnkBtnDisableAccount" runat="server" 
            onclick="lnkBtnDisableAccount_Click">停用账户</asp:LinkButton>
    </p>
    <p>
        <asp:LinkButton ID="lnkBtnEnableAccount" runat="server" 
            onclick="lnkBtnEnableAccount_Click">启动账户</asp:LinkButton>
    </p>
</asp:Content>
